package com.threeox.commonlibrary.ui.activity;

import android.os.Bundle;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import com.threeox.commonlibrary.entity.engine.model.multipage.MultiPageMessage;
import com.threeox.commonlibrary.ui.activity.base.BaseModelActivity;
import com.threeox.commonlibrary.ui.view.engineview.multipagemodel.MultiPageModelView;

/**
 * 
 * @ClassName: MultiPageModelActivity
 * 
 * @Description: TODO(多页面配置Activity)
 * 
 * @author 赵屈犇
 * 
 * @date 创建时间: 2017/8/10 18:58
 * 
 * @version 1.0
 * 
 */
public class MultiPageModelActivity extends BaseModelActivity {

    private MultiPageMessage mMultiPageMessage;
    private MultiPageModelView mMultiPageModelView;

    @Override
    protected void setView(Bundle stateBundle) {
        mMultiPageModelView = new MultiPageModelView(mContext);
        initFullScreenState(mMultiPageModelView);
        mMultiPageModelView.initData(mIntent);
        mMultiPageMessage = mMultiPageModelView.getMultiPageMessage();
        addContentView(mMultiPageModelView, new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
    }

    @Override
    protected void initView() {
        initBaseModelMessage(mMultiPageMessage, mMultiPageModelView);
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void setListener() {

    }
}
